package com.jiyun.pojo.vo;

import com.jiyun.pojo.entity.User;

import java.util.Date;

public class UserVo  extends User {
    String code;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public UserVo() {
    }

    public UserVo(String username, String password, Integer roleid, String userdescription, String phone, Date registrationtime, Date logintime, String nickname, Double money, String image, String gebder, Boolean status) {
        super(username, password, roleid, userdescription, phone, registrationtime, logintime, nickname, money, image, gebder, status);
    }

    public UserVo(String code) {
        this.code = code;
    }

    public UserVo(String username, String password, Integer roleid, String userdescription, String phone, Date registrationtime, Date logintime, String nickname, Double money, String image, String gebder, Boolean status, String code) {
        super(username, password, roleid, userdescription, phone, registrationtime, logintime, nickname, money, image, gebder, status);
        this.code = code;
    }

    @Override
    public String toString() {
        return "UserVo{" +
                "code='" + code + '\'' +
                '}';
    }
}
